---
layout: default
---

<div class="container">
	<div class="row">
		<article class="col col-12 col-t-8 post">
			<div class="post-content">

				<div class="post-head">
					{% if page.tags.size >= 1 %}
					<div class="post-tag">
						{% for tag in page.tags %}
						<a href="{{ site.baseurl }}/tags#{{tag}}" class="tag">{{ tag }}</a>
						{% endfor %}
					</div>
					{% endif %}
					<h1 class="post-title">{{ page.title | escape }}</h1>
					<div class="post-info">
						<div class="post-info-author">
							<div class="info-author-avatar" style="background-image: url({{"/img/" | prepend: site.baseurl | append : site.author-avatar}})"></div>
							<span>by</span>
							<span class="info-author-name">{{site.author-name}}</span>
						</div>
						<div class="post-date">
							<span>
								<time datetime="{{ page.date | date_to_xmlschema }}">{{page.date | date: '%b %d, %Y'}}</time>
							</span>
						</div>
					</div>
				</div>

				<div class="post-body">
					{{ content }}
				</div>

				<div class="post-navigation">
					{% if page.previous.url %}
					<a href="{{ site.baseurl }}{{page.previous.url}}" class="prev">
						<div class="post-nav-arrow"><i class="ion ion-ios-arrow-round-back"></i> 上一个</div>
						<h2 class="post-nav-title">{{page.previous.title}}</h2>
					</a>
					{% endif %} {% if page.next.url %}
					<a href="{{ site.baseurl }}{{page.next.url}}" class="next">
						<div class="post-nav-arrow">下一个<i class="ion ion-ios-arrow-round-forward"></i></div>
						<h2 class="post-nav-title">{{page.next.title}}</h2>
					</a>
					{% endif %}
				</div>

			</div>
	</article> <!-- /.post -->

	<div class="col col-12 col-t-4">
		{% include sidebar.html %}
	</div>

	</div>
</div>